/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */

package cn.webrx;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>Project: jse2303 - cn.webrx.ArrayList1</p>
 * <p>Powered by webrx On 2023-07-18 17:50:37</p>
 * <p>描述：<p>
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class ArrayList1 implements Serializable {
    public static void main(String[] args) {
        //ArrayList 相当于动态的数组
        List list = new ArrayList();

        list.add(1);
        list.add(.1);
        list.add("ok");
        list.add(new Date());

        System.out.println(list.size());
        System.out.println(list.get(0));

    }
}
